<template>
	<view class="container">

		<uni-list>
			<uni-list-item v-for="item,index in students" :key="index" :title="item.name"></uni-list-item>
		</uni-list>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				students: [{
						id: "001",
						name: "tom",
						icon: "/static/logo.png"
					},
					{
						id: "002",
						name: "tom2",
						icon: "/static/logo.png"
					}, {
						id: "002",
						name: "tom3",
						icon: "/static/logo.png"
					}
				]
			}
		},
		methods: {

		}
	}
</script>

<style>
	.container {
		padding: 20px;
		font-size: 14px;
		line-height: 24px;
	}
</style>